package com.party.core.dao.read.mall;

import com.party.common.paging.Page;
import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.mall.MallShowSubject;
import com.party.core.model.mall.MallShowSubjectQuery;
import com.party.core.model.mall.MallShowSubjectWithAuthor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 展示商品主题商品读取
 * Created by wei.li
 *
 * @date 2017/8/24 0024
 * @time 15:48
 */
@Repository
public interface MallShowSubjectReadDao extends BaseReadDao<MallShowSubject> {

    /**
     * 展示商品主题查询
     * @param mallShowSubjectQuery 展示商品主题
     * @param page 分页参数
     * @return 列表
     */
    List<MallShowSubjectWithAuthor> queryListPage(MallShowSubjectQuery mallShowSubjectQuery, Page page);
}
